﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Themes/2Colunas/Content/Sample.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Themes/2Colunas/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Themes/2Colunas/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="container">
        <div id="header">
            <h1>
                @Html.ActionLink("Blog do 100loop.com", "Index", "Post")
            </h1>
        </div>
        <div id="navigation">
            <ul>
                <li>@Html.ActionLink("Início", "Index", "Post")</li>
                <li>@Html.ActionLink("Comentários", "Index", "Comment")</li>
            </ul>
        </div>
        <div id="content-container">
            <div id="content">
                @RenderBody()
            </div>
            <div id="aside">
                @Html.Partial("News")
                <h3>
                    Envio de Temas</h3>
                @using (Html.BeginForm("FileUpload", "Post", FormMethod.Post, new { enctype = "multipart/form-data" }))
                {
                    @Html.ValidationSummary(true, "Não foi possível fazer o cadastro. Corrija os erros e tente novamente.")
                    <div>
                        <fieldset>
                            <legend>Tema</legend>
                            <div class="editor-field">
                                <input type="file" name="Views" size="4" />
                            </div>
                            <p>
                                <input type="submit" value="Enviar" />
                            </p>
                        </fieldset>
                    </div>
                }
            </div>
            <div id="footer">
                @Html.Action("Themes", "Post")
                Copyright © 100loop.com, @DateTime.Now.Year.ToString()
            </div>
        </div>
    </div>
</body>
</html>
